package org.csu.small.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("small_slide")
public class Slide {
    @TableId(type=IdType.AUTO)
    private Long id;
    private Long productId;
    private String imageUrl;
    private Integer isShow;
    private Integer sortOrder;
    @TableField( fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField( fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
